
import Vue from 'vue'
import { List, Popup, Dialog, Button } from 'vant'
Vue.use(List).use(Popup).use(Dialog).use(Button)
import 'vant/lib/index.css'
// TODO 暂时不用toast 等合并的时候再说
Vue.prototype.$Error = function (title) {
  title === undefined ? title = '数据格式错误' : ''
  wx.showToast({
    icon: 'none',
    title: title
  })
}
